package com.bookmngsys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.*;
import org.springframework.validation.annotation.Validated;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import java.util.Date;

/**
 * @author han
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
public class BookLocation {
    @Id
    private String rackNumber;

    private int floor;

    private int face;

    private int row0;

    private int col;

}